Signed-off-by: Keir Fraser <keir@xensource.com>
#define gnttab_shared_mfn(d, t, i) \
( ((d) == dom0) ? \
- ((virt_to_phys((t)shared) >> PAGE_SHIFT) + (i)) : \
+ ((virt_to_phys((t)->shared) >> PAGE_SHIFT) + (i)) : \
(map_domain_page((d), 1UL<<40, virt_to_phys((t)->shared)), \
1UL << (40 - PAGE_SHIFT)) \
)
#define PGT_l2_page_table (2<<29) /* using this page as an L2 page table? */
#define PGT_l3_page_table (3<<29) /* using this page as an L3 page table? */
#define PGT_l4_page_table (4<<29) /* using this page as an L4 page table? */
-#define PGT_writeable_page (5<<29) /* has writable mappings of this page? */
+#define PGT_writable_page (5<<29) /* has writable mappings of this page? */
#define PGT_type_mask (5<<29) /* Bits 29-31. */
/* Has this page been validated for use as its current type? */